<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <!-- <div v-if="age >= 18">洛璃</div>
        <div v-else-if=" age >= 12">洛璃(少女)</div>
        <div v-else>洛璃(幼年)</div> -->
        <template v-if="bool">
            <div>洛璃是无敌的</div>
            <div>洛璃是无敌的</div>
            <div>洛璃是无敌的</div>
            <div>洛璃是无敌的</div>
            <div>洛璃是无敌的</div>
        </template>
    </div>
    <script src="../vue2.js"></script>
    <script>
        const vm = new Vue({
            el:'#app',
            data(){
                return{
                    msg: {
                        name:'luoli'
                    },
                    age: 10,
                    bool: true
                }
            }
        })
    </script>
</body>
</html>